
/* ================================================================== */
/* ========================== 告警列表项 ============================= */
/* ================================================================== */

.box-alarm-list {
    position: fixed;
    top: 3rem;
    right: 0;
    /* display: flex; */
    z-index: 9999;
    background-color: rgba(49, 56, 56, 0.5);
    box-shadow: rgba(0, 0, 0, 0.5) -1rem 1rem 1rem;
    border: aqua solid 0.1rem;
    border-right: none;
    border-top: none;
    transition: transform 0.5s;
    backdrop-filter: blur(0.6rem);
    border-bottom-left-radius: 1rem;

}

.box-alarm-list .title-box {
    color: rgb(255, 71, 71);
    border-color: rgb(255, 71, 71);
    width: auto;
}

.unconfirmed-alarm .container-alarm-list {
    height: 25rem;
    width: 23rem;
}
.title-alarm-window {
    color: white;
    text-shadow: black 0 0 0.2rem;
    font-size: 1.3rem;
    /* margin-left: -1.2rem; */
    height: 1.6rem;
    width: 20rem;
    line-height: 1.6rem;
    letter-spacing: 0.2rem;
    font-weight: 600;
    border-top: rgb(255, 101, 96) solid 0.2rem;
    background-image: linear-gradient(to right, rgba(0, 255, 255, 0.6) , rgba(255, 101, 96, 0.5) 30%);
    border-image: linear-gradient(to right,aqua 20%, rgb(255, 101, 96) 35%)1;
    padding: 0.5rem 1.5rem;
}

/* 选择告警类型面板 */
.panel-choose-alarm-type {
    display: flex;
    margin: 0.3rem 0 0 1rem;
}

.alarm-type-btn {
    color: rgb(129, 129, 129);
    margin-left: 0.1rem;
    font-size: 0.8rem;
    line-height: 1.5rem;
    width: 3rem;
    position: relative;
    transition: all 0.2s;
    cursor: pointer;
    display: flex;
    text-align: center;
    /* border: aqua solid 0.1rem; */
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.alarm-type-btn:hover {
    color: white;
    text-shadow: black 0 0 0.2rem;
    transform: scale(1.2);
    font-weight: 600;
    z-index: 99;
}

.alarm-type-btn:hover::after {
    background-color: aliceblue;
    box-shadow: rgba(255, 236, 211, 0.5) 0 0 0.2rem
}

.alarm-type-btn::after {
    content: '';
    position: absolute;
    left: 0;
    z-index: -1;
    width: 4rem;
    height: 1.5rem;
    background-image: linear-gradient(45deg, rgba(95, 138, 187, 0.2), rgba(208, 255, 245, 0.2));
    color: white;
    margin-left: 0.1rem;
    transform: skew(-20deg);

}

.alarm-dot {
    /* position: absolute; */
    width: 0.5rem;
    height: 0.5rem;
    background-color: red;
    border-radius: 50%;
}

/* 被选中状态 */
.alarm-type-btn-choosen {
    color: white;
    text-shadow: black 0 0 0.2rem;
    transform: scale(1.1);
    font-weight: 600;
    pointer-events: none;
}

.alarm-type-btn-choosen::after {
    background-image: linear-gradient(45deg, rgba(0, 226, 224, 0.8), rgba(234, 0, 0, 0.5));
    box-shadow: rgba(255, 236, 211, 0.5) 0 0 0.2rem
}

.container-alarm-list-main, .container-alarm-list {
    margin-top: 0.5rem;
    color: aliceblue;
    background-color: rgba(138, 138, 138, 0.1);
    width: 22rem;
    height: 25rem;
    overflow-y: scroll;
    overflow-x: hidden;
    backdrop-filter: blur(0.2rem);
}

.panel-alarm-list-main {
    color: aliceblue;
    border-top: rgb(255, 236, 185) solid 0.15rem;
    width: 20rem;
    height: 5rem;
    margin: 0.5rem 1rem 0.5rem 1rem;
    background-color: rgba(100, 100, 100, 0.1);
    box-shadow: aqua 0 0 0.5rem;
}

.panel-alarm-list-main .list-line-1 {
    display: flex;
    width: inherit;
    background-color: rgba(92, 92, 92, 0.3);
    box-shadow: rgba(0, 0, 0, 0.5) 0 0.2rem 0.2rem;
    height: 2rem;
    overflow: hidden;
    /* justify-content: flex-end; */

}

.panel-alarm-list-main .list-line-1>div {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    line-height: 2rem;
}

.panel-alarm-list-main .list-line-1 .panel-alarm-device {
    width: 20rem;
    color: rgb(255, 236, 185);
    text-shadow: black 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    padding-left: 0.5rem;
    /* border: white solid 0.1rem; */
}


.panel-alarm-list-main .list-line-1 .panel-alarm-time {
    margin-left: 1rem;
    width: 8rem;
    font-style: italic;
    font-size: 0.8rem;
    color: rgb(194, 194, 194);
    /* border: white solid 0.1rem; */
}

.panel-alarm-list-main .panel-alarm-info {
    margin-top: 0.5rem;
    width: inherit;
    height: 2rem;
    line-height: 2rem;
    padding-left: 1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    /* border: white solid 0.1rem; */
}

.panel-alarm-list-main .panel-alarm-info:hover {
    color: rgb(255, 236, 185);
    background-color: rgba(255, 236, 185, 0.3);
}

.panel-alarm-list-main .panel-operation {
    position: absolute;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    margin-top: -2.5rem;
    margin-left: 1rem;
    width: 19rem;
    height: 3rem;
    line-height: 3rem;
    padding-left: 1rem;
    backdrop-filter: blur(1rem);
    z-index: 99;
    transition: left 0.3s, opacity 0.3s;
}

.panel-alarm-list-main .panel-operation .btn {
    text-align: center;
    padding: 0 0.5rem;
    /* font-weight: 600; */
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
    border-radius: 0.5rem;
    box-shadow: black 0 0 0.5rem;
    cursor: pointer;
    transition: transform 0.1s;
    height: 1.5rem;
    line-height: 1.5rem;
    background-color: rgba(240, 248, 255, 0.404);
    border: white solid 0.1rem;
    margin: 0.6rem 0.5rem;
    background-color: rgba(73, 170, 157, 0.8);
}

.panel-alarm-list-main .panel-operation .btn:hover {
    transform: scale(0.92);
    box-shadow: black 0 0 0.1rem;
}

.panel-alarm-list-main .panel-operation .cancel {
    background-color: rgba(224, 41, 16, 0.8);
    padding: 0 0.3rem 0 0.4rem;
    border: unset;
    border-radius: 0rem;
    margin: 0.8rem 0 0.8rem 2rem;
}
